package demo1;

import demo2.B;

public  class Test1 extends A implements B {
    public static void main(String[] args) {
        System.out.println(a);
        System.out.println(b);
    }
}

class A{
    static int b = 1 ;
}